package com.atguigu.gmall.product.service;

/**
 * @Author atguigu-mqx
 * @Description TODO
 * @Date 2023/8/22 11:51
 * @Version 1.0
 */
public interface TestService {
    /**
     * 测试lock
     */
    void testLock() throws InterruptedException;

    /**
     * 读锁
     * @return
     */
    String readLock();

    /**
     * 写锁
     * @return
     */
    String writeLock();

}
